var app = angular.module('app', [
  'ngRoute',
  'appControllers'
  
]);

app.config(['$routeProvider',
  function ($routeProvider) {
      $routeProvider.
      when('/dashboard', {
          templateUrl: 'partials/dashboard.html',
          controller: 'DashCtrl'
      }).
      when('/login', {
          templateUrl: 'partials/login.html',
          controller: 'LoginCtrl'
      }).
      when('/morris', {
          templateUrl: 'partials/morris.html',
          controller: 'MorrisCtrl'
      }).
      when('/tables', {
          templateUrl: 'partials/tables.html',
          controller: 'TablesCtrl'
      }).
      when('/home', {
          templateUrl: 'partials/home.html',
          controller: 'HomeCtrl'
      }).
            when('/support', {
          templateUrl: 'partials/support.html',
          controller: 'SupportCtrl'
      }).
            when('/koeb_udgifter', {
          templateUrl: 'partials/koeb_udgifter.html',
          controller: 'KoebUdgifterCtrl'
      }).
            when('/lager', {
          templateUrl: 'partials/lager.html',
          controller: 'LagerCtrl'
      }).
            when('/rapporter', {
          templateUrl: 'partials/rapporter.html',
          controller: 'RapporterCtrl'
      }).
            when('/moms', {
          templateUrl: 'partials/moms.html',
          controller: 'MomsCtrl'
      }).
      otherwise({
        redirectTo: '/dashboard'
      });
  } ]);

